package com.yt.lxh.common.exception;

import com.yt.lxh.common.result.ResultCodeEnum;
import lombok.Getter;

/**
 * 用户数据不存在的异常
 */
@Getter
public class UserNotFoundException extends ServiceException{

    private String message;
    public UserNotFoundException(ResultCodeEnum errCode) {
        super(errCode);
    }

    public UserNotFoundException(ResultCodeEnum errCode, String message) {
        super(errCode);
        this.message = message;
    }

}
